package me.bincker.formwork.web.utils

import java.text.SimpleDateFormat
import java.util.*

object DateFormatUtils {
    const val DEFAULT_PATTERN = "yyyy-MM-dd HH:mm:ss"
    val defaultFormatter = SimpleDateFormat(DEFAULT_PATTERN)

    fun format(date: Date) = defaultFormatter.format(date)
}